<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/public.css" media="all">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body >
<div class="layui-form layuimini-form" lay-filter="goods_form">
    <div class="layui-form-item layui-hide">
        <label class="layui-form-label ">数据ID</label>
        <div class="layui-input-block">
            <input type="number" name="id"  value="" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">货品ID</label>
        <div class="layui-input-block">
            <input type="text" name="goods_id" lay-verify="required" lay-reqtext="货品ID不能为空" placeholder="请输入货品ID" value="" class="layui-input">
            <tip>填写经销商提供的（平台）货品ID或者自编ID。</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label required">货品名称</label>
        <div class="layui-input-block">
            <input type="text" name="goods" lay-verify="required" lay-reqtext="货品名称不能为空" placeholder="请输入货品名称" value="" class="layui-input">
            <tip>填写经销商提供的货品名称或者自编。</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">规格名称</label>
        <div class="layui-input-block">
            <input type="text" name="goods_sku"  placeholder="请输入规格名称" value="" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label required">商家编码</label>
        <div class="layui-input-block">
            <input type="text" name="goods_code"  lay-verify="required" lay-reqtext="商家编码不能为空" placeholder="请输入商家编码" value="" class="layui-input">
            <tip>填写发货系统中的编码。</tip>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">发货仓</label>
        <div class="layui-input-block">
            <input type="radio" name="ware_house" value="C4良品仓" title="C4良品仓" checked="">
            <input type="radio" name="ware_house" value="C4残损仓" title="C4残损仓">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label required">所属经销商</label>
        <div class="layui-input-block">
            <!-- <input type="text" name="dealer"  lay-verify="required" lay-reqtext="所属经销商不能为空" placeholder="请输入经销商" value="" class="layui-input"> -->
            <select lay-filter="import" id="dealer_id" name="dealer_id" class="import">
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label required">供货价</label>
        <div class="layui-input-block">
            <input type="number" name="supply_price"  lay-verify="required" lay-reqtext="供货价不能为空" placeholder="请输入供货价" value="" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">定价</label>
        <div class="layui-input-block">
            <input type="number" name="fixed_price"  lay-verify="required" lay-reqtext="定价不能为空" placeholder="请输入定价" value="" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">备注信息</label>
        <div class="layui-input-block">
            <textarea name="remark" class="layui-textarea" placeholder="请输入备注信息"></textarea>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认保存</button>
        </div>
    </div>
</div>
<script src="../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="../../js/Goods-edit.js" charset="utf-8"></script>
</body>
</html>